package com.huoxingy.statics.repo;

import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

/**
 * Created by lihu on 2018/1/8.
 */
public interface TotalMemberConsumptionRepo {


    Long queryAllByStoreIdAndBizDate(String storeId, String date);


    List<Map<String, Object>> findByStoreIdAndBizDate(String storeId, String date, Pageable pageable);

    /**
     * 获取流失会员信息
     *
     * @param storeId
     * @param date
     * @param pageable
     * @return
     */
    List<Map<String, Object>> queryLostInfo(String storeId, String date, Pageable pageable);
}
